package org.jeecg.modules.simulator.model.line.station.station;

import java.time.LocalTime;

/**
 * @program: gp2
 * @description:
 * @author: renzhg
 * @create: 2024-08-30 09:04
 **/
public class SimpleStation extends Station {
    public SimpleStation(String line, String name) {
        super( name);
        this.line=line;
    }

    LocalTime currentTime ;
    @Override
    public LocalTime getCurrentTime() {
        return this.currentTime;
    }

    @Override
    public void UpdateCurrentTime(LocalTime currentTime) {
        this.currentTime=currentTime;
    }

}
